package com.wf.smartcomm.server.service;

import java.util.List;

import com.wf.smartcomm.server.bean.UnLock;
import com.wf.smartcomm.server.bean.User;
import com.wf.smartcomm.server.bean.Village;
import com.wf.smartcomm.server.model.Page;


/** 
 * @author 38884306@qq.com  
 * @version ����ʱ�䣺2015-5-19 ����11:51:23 
 * 
 */
public interface UserService {
	public void registe(User user);
	public void list(Page page);
	public User login(User user);
	public void unlock(UnLock unlock);
	public void updateInfo(User user);
	public void setType(User user,String type);
	public User getUserByUsername(String username);
	public User getUserById(String objectId);
	public void getAttachUser(User user,Page page);
	public void listByHouse(String houseId,Page page);
	public void queryByPage(Village village,Page page);
	public void queryPrimaryByKey(Village village,String key,Page page);
	public void queryAttachByKey(Village village,String key,Page page);
	public void listAttach(Village village,String hostId, Page page);
	public void listUm(Village village,Page page);
	public void setVillage(User user, String vid);
	public void listProperty(Village loginVillage, Page page);
	public void update(User user);
	public void listUmUser(String hid,Page page);
	public void listByVillage(Village village,Page page);
	public void listUmUser(Page page);
	public void deleteUser(User user);
	public void addVillage(User user,Village village);
	public void deleteUmUser(User user);
	public void logout(User user);
	public void counts(Village loginVillage, Page page);
	public void realDel(User user);
	public void initVoipInfo(User user);
	public User getUserByOpenId(String openId);
	public void searchByKey(String key, Page page);
	public void listAttachByHouse(String hid, Page page);
	public List<User> listToJobSchedule(Village village);
	void listAllByVillage(Village village, Page page);
	public void listAll(Page page);
	public User getCenterUser(String vid);
	public User getUserByVoip(String called);
	public void listCenterByVillage(Village village);
	public List<User> listAllCenter();
}
